﻿<Windows:AbstractRibbonSplitButton x:Class="PefStudio.Windows.SplitRibbonSplitButton"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:Windows="clr-namespace:PefStudio.Windows;assembly=PefStudio.Ribbon" xmlns:Fluent="clr-namespace:Fluent;assembly=Fluent" mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
        <Fluent:Gallery x:Name="gallery" MinHeight="60" MinItemsInRow="2" MaxItemsInRow="6" ItemWidth="28" ItemHeight="28">
            <Border Tag="Group1" BorderThickness="1" BorderBrush="Aqua">
                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >1</TextBlock>
            </Border>
            <Border Tag="Group1" BorderThickness="1" BorderBrush="Aqua">
                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >2</TextBlock>
            </Border>
            <Border Tag="Group1" BorderThickness="1" BorderBrush="Aqua">
                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >3</TextBlock>
            </Border>
            <Border Tag="Group2" BorderThickness="1" BorderBrush="Aqua">
                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >4</TextBlock>
            </Border>
            <Border Tag="Group2" BorderThickness="1" BorderBrush="Aqua">
                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >5</TextBlock>
            </Border>
            <Border Tag="Group2" BorderThickness="1" BorderBrush="Aqua">
                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >6</TextBlock>
            </Border>
            <Border Tag="Group2" BorderThickness="1" BorderBrush="Aqua">
                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >7</TextBlock>
            </Border>
            <Border Tag="Group3" BorderThickness="1" BorderBrush="Aqua">
                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >8</TextBlock>
            </Border>
        </Fluent:Gallery>
        <Fluent:MenuItem Header="Item5" Fluent:KeyTip.Keys="E"  Icon="..\Images\ChangeCase.png"/>
        <Fluent:MenuItem Header="Item5" Fluent:KeyTip.Keys="R">
            <Fluent:MenuItem Header="Itemq" Fluent:KeyTip.Keys="A"/>
            <Fluent:MenuItem Header="Itemw" Fluent:KeyTip.Keys="B"/>
            <Fluent:MenuItem Header="Item5" Fluent:KeyTip.Keys="R" Icon="..\Images\ChangeCase.png">
                <Fluent:MenuItem Header="Itemq" Fluent:KeyTip.Keys="A" MaxDropDownHeight="350">
                    <Fluent:Gallery x:Name="galleryl" MinHeight="60" MinItemsInRow="3" MaxItemsInRow="6" ItemWidth="28" ItemHeight="28">
                        <Border Tag="Group1" BorderThickness="1" BorderBrush="Aqua">
                            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >1</TextBlock>
                        </Border>
                        <Border Tag="Group1" BorderThickness="1" BorderBrush="Aqua">
                            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >2</TextBlock>
                        </Border>
                        <Border Tag="Group1" BorderThickness="1" BorderBrush="Aqua">
                            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >3</TextBlock>
                        </Border>
                        <Border Tag="Group2" BorderThickness="1" BorderBrush="Aqua">
                            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >4</TextBlock>
                        </Border>
                        <Border Tag="Group2" BorderThickness="1" BorderBrush="Aqua">
                            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >5</TextBlock>
                        </Border>
                        <Border Tag="Group2" BorderThickness="1" BorderBrush="Aqua">
                            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >6</TextBlock>
                        </Border>
                        <Border Tag="Group2" BorderThickness="1" BorderBrush="Aqua">
                            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >7</TextBlock>
                        </Border>
                        <Border Tag="Group3" BorderThickness="1" BorderBrush="Aqua">
                            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >8</TextBlock>
                        </Border>
                    </Fluent:Gallery>
                </Fluent:MenuItem>
                <Fluent:MenuItem Header="Itemw" Fluent:KeyTip.Keys="B"/>
                <Fluent:MenuItem Header="Item5" Fluent:KeyTip.Keys="R">
                    <Fluent:MenuItem Header="Itemq" Fluent:KeyTip.Keys="A"/>
                    <Fluent:MenuItem Header="Itemw" Fluent:KeyTip.Keys="B"/>
                    <Fluent:MenuItem Header="Iteme" Fluent:KeyTip.Keys="C"/>
                </Fluent:MenuItem>
            </Fluent:MenuItem>
        </Fluent:MenuItem>
        <Fluent:MenuItem Header="Item"/>
        <Fluent:MenuItem Header="Item"/>
        <Fluent:MenuItem Header="Item"/>
        <Fluent:MenuItem Header="Item"/>
        <Fluent:MenuItem Header="Item"/>
        <Fluent:MenuItem Header="Item"/>
        <Fluent:MenuItem Header="Item"/>
        <Fluent:MenuItem Header="Item"/>
        <Fluent:MenuItem Header="Item"/>
        <Fluent:MenuItem Header="Item"/>
        <Fluent:MenuItem Header="Item"/>
        <Fluent:MenuItem Header="Item"/>
        <Fluent:MenuItem Header="Item"/>
        <Fluent:MenuItem Header="Item"/>
</Windows:AbstractRibbonSplitButton>